package cn.itsource;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
//exclude = DataSourceAutoConfiguration.class 等同于不去扫描JDBC默认的配置,该项目不去加载jdbc连接
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableEurekaClient
//@EnableFeignClients(value = "cn.itsource.feign")
public class MessageApp7001 {

    public static void main(String[] args) {
        SpringApplication.run(MessageApp7001.class);
    }
}